package com.chinasofti.generic;

public class Generic01 {
    public <T> void show(T t){
        System.out.println(t);
    }

    public static void main(String[] args) {
        Generic01 generic01 = new Generic01();
        int arr[] = {2,3};
        generic01.show("sadf");
        generic01.show(1);
        generic01.show(arr);
        System.out.println();
    }
}
